/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include <物体/物体.h>
#include <材质/预设材质.h>


API_EXPORT S_物体* f_node_创建标注虚拟体(S_设备环境& ctx);
API_EXPORT void	f_node_销毁标注虚拟体(S_物体* ob);


API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const int32& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const float32& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const vec3& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});

API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_I32Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移={});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_F32Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});

API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_Vec2Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_Vec3Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_Vec4Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});

API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_iVec2Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_iVec3Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});
API_EXPORT void f_node_标注_设置标注网格(S_物体* ob, const S_iVec4Array& data, std::vector<S_VC>& 坐标和颜色, std::u16string 前缀 = u"", vec2 坐标偏移 = {});





